package com.easyadmin.pro.modules.sys.entity;

import com.easyadmin.pro.common.entity.BaseEntity;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.Table;
import java.io.Serializable;
import java.time.LocalDateTime;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serial;

/**
 *  实体类。
 *
 * @author xulin
 * @since 2024-04-02
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(value = "sys_user_permissions")
@Accessors(chain = true)
public class UserPermissionsEntity extends BaseEntity implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @Id
    private Long id;

    /**
     * 角色id
     */
    private Long roleId;

    /**
     * 对应路由
     */
    private Long routerId;

}
